import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/vant'
import * as http from './api'

// 挂载请求到全局属性，这样在任意的组件都可以直接使用
Vue.prototype.$http = http

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
